package 基础篇.阻塞线程;

/**
 * Created by Administrator on 2018/7/28 0028.
 */
public class SleepThread {
    public static void main(String[] args) throws InterruptedException {
        for(int i=0;i<100;i++){
            System.out.println(i);
            if(i==20){
                Thread.sleep(1000l);
            }
        }
    }
}
